package net.huashitong.ssydt.provider.alipay.entity;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author <a href="mailto:yhy23456@163.com">huiyang.yu</a>
 * @since 2017.08.17
 */
public class NotifyModel implements Serializable {

    private static final long serialVersionUID = 5677830821335034588L;

    private String out_trade_no;//商户订单号

    private String trade_no;//支付宝交易号

    private String trade_status;//交易状态

    private String gmt_payment;//交易付款时间

    private String buyer_logon_id;//买家支付宝账号

    private BigDecimal total_amount;//订单金额

    public String getOut_trade_no() {
        return out_trade_no;
    }

    public void setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
    }

    public String getTrade_no() {
        return trade_no;
    }

    public void setTrade_no(String trade_no) {
        this.trade_no = trade_no;
    }

    /**
     *  WAIT_BUYER_PAY	交易创建，等待买家付款
     *  TRADE_CLOSED	未付款交易超时关闭，或支付完成后全额退款
     *  TRADE_SUCCESS	交易支付成功
     *  TRADE_FINISHED	交易结束，不可退款
     * @return
     */
    public String getTrade_status() {
        return trade_status;
    }

    public void setTrade_status(String trade_status) {
        this.trade_status = trade_status;
    }

    /**
     * 该笔交易的买家付款时间。格式为yyyy-MM-dd HH:mm:ss
     * @return
     */
    public String getGmt_payment() {
        return gmt_payment;
    }

    public void setGmt_payment(String gmt_payment) {
        this.gmt_payment = gmt_payment;
    }

    public String getBuyer_logon_id() {
        return buyer_logon_id;
    }

    public void setBuyer_logon_id(String buyer_logon_id) {
        this.buyer_logon_id = buyer_logon_id;
    }

    public BigDecimal getTotal_amount() {
        return total_amount;
    }

    public void setTotal_amount(BigDecimal total_amount) {
        this.total_amount = total_amount;
    }
}
